package com.macroye.manage;

import com.macroye.entity.req.MangeLoginVo;
import com.macroye.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "manageRemote", value = "macroye-manage",
        path = "/user")
public interface ManageLoginRemote {

    /**
     * 查找管理员
     * @param mangeLoginVo
     * @return
     */
    @PostMapping("/manageLogin")
    public Result<MangeLoginVo> manageLogin(@RequestBody MangeLoginVo mangeLoginVo);
}
